﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace TA.Turbo.Controls
{
	/// <summary>
	/// Specifies the styles to be used for the table element.
	/// </summary>
	public class TableOptions : StyledElement
	{
		/// <summary>
		/// Ctor.
		/// </summary>
		public TableOptions()
		{
			CellPadding = 1;
			CellSpacing = 2;
			this.Align = "";
		}
		/// <summary>
		/// CellSpacing applied to the table.
		/// </summary>
		[DefaultValue(2)]
		public int CellSpacing { get; set; }
		/// <summary>
		/// CellPadding applied to the table.
		/// </summary>
		[DefaultValue(1)]
		public int CellPadding { get; set; }
		/// <summary>
		/// Align attribute applied to the table.
		/// </summary>
		[DefaultValue("")]
		public string Align { get; set; }
	}
}
